﻿using Axis.Web.Administrator.Global;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Axis.Web.Administrator.Master
{
    public partial class Administrator : BasePage
    {
       
        protected void Page_Load(object sender, EventArgs e)
        {
            StringBuilder Result = new StringBuilder();

            Result.AppendFormat("var USER_ID='{0}';\n", CSecurity.USER_ID.ToString());
            Result.AppendFormat("var SECRECT_TOKEN='{0}';\n", CSecurity.SECRECT_TOKEN.ToString());
            Result.AppendFormat("var CodePage={0};\n", CSecurity.USER_ID * 2000);
             Page.ClientScript.RegisterClientScriptBlock(Page.GetType(), "CSecurity",
                               Result.ToString(), true);


        }
    }
}